package com.lnking.lnkingplace.model.dto.recordUser;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lnking.lnkingplace.model.dto.user.UserDetailDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * @author 联坤
 */

@Data
public class RecordDetailDto  extends UserDetailDto {

    @ApiModelProperty(value = "数据信息(json)")
    private String info;

    @ApiModelProperty(value = "记录时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime creatorTime;

    @ApiModelProperty(value = "核酸结果出具时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime resultTime;

    @ApiModelProperty(value = "是否集中隔离")
    private String isolationFlag;

    @ApiModelProperty(value = "是否居家隔离")
    private String homeFlag;

    @ApiModelProperty(value = "是否与病例轨迹相重叠")
    private String trackCoincidenceFlag;

    @ApiModelProperty(value = "今日核酸时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkTime;

    @ApiModelProperty(value = "是否核酸")
    private String checkStatus;

}
